﻿<?xml version="1.0" encoding="utf-8" ?>

<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="Web7.Container" namespace="Web7.Container.Localization">

  <class  name="Web7.Container.Localization.Language, Web7.Container" table="`Language`" dynamic-update="true">
	<id name="Id" type="Guid" unsaved-value="null">
		<column name="Id" length="36" sql-type="uniqueidentifier" not-null="true" unique="true" index="PK__Language__3214EC07398D8EEE"/>
		<generator class="assigned" />
	</id>

    <!---->
    <property name="Name" type="String">
      <column name="Name" length="100" not-null="true"/>
    </property>

    <!---->
    <property name="LanguageCulture" type="String">
      <column name="LanguageCulture" length="20" not-null="true"/>
    </property>

    <!---->
    <property name="UniqueSeoCode" type="String" update="false" >
      <column name="UniqueSeoCode" length="2" not-null="false" />
    </property>

    <!---->
    <property name="FlagImageFileName" type="String">
      <column name="FlagImageFileName" length="50" not-null="false"/>
    </property>

    <!---->
    <property name="Rtl" type="Boolean">
      <column name="Rtl" not-null="true"/>
    </property>

    <!---->
    <property name="Published" type="Boolean">
      <column name="Published" not-null="true"/>
    </property>

    <!---->
    <property name="DisplayOrder" type="Int32">
      <column name="DisplayOrder" not-null="true"/>
    </property>

  </class>

</hibernate-mapping>
